package sctu.edu.java.year2016.team02.wanggaowen.day20160527.Chapter8_2;

/**
 * Created by 15c on 2016/5/27.
 *///定义了一个子类；继承Student父类；
public class GoodStudent extends Student{

    public  GoodStudent(){

    }

    public  static  void write(){//修改父类中write行为；

             System.out.println("Good学生要努力学习");
    }
}
